package com.zbkj.common.request;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 优惠券领取
 * +----------------------------------------------------------------------
 * | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 * +----------------------------------------------------------------------
 * | Author: CRMEB Team <admin@crmeb.com>
 * +----------------------------------------------------------------------
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("eb_store_coupon_user")
@Schema(name="StoreCouponUserRequest对象", description="优惠券领取")
public class StoreCouponUserRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @Schema(name = "优惠券发布id")
    @NotNull(message = "优惠券id不能为空")
    private Integer couponId;

    @Schema(name = "领取人id, 多个id逗号分割")
    @NotBlank(message = "领取人不能为空")
    private String uid;
}
